InspireLabs\WoocommerceInpost\shipx\services\shipment\ShipX_Shipment_Service B

Total Complexity 77
Dependencies 17
Dependents 3
Total lines 604
Lines of code 390
Logical lines of code 245
Comment lines 103
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
create_shipment_object_by_shiping_data()
C
28
20 142
get_customer_service_name_by_id()
A
47 16 35
shipment_to_array()
A
48 7 37
get_table_attributes()
S
46 6 41
is_shipment_match_to_current_api()
S
58 5 18
update_shipment_to_db()
S
61 3 12
is_courier_service()
S
58 2 18
is_service_id_courier_type()
S
58 2 18
get_services_key_value()
S
58 2 16
is_shipment_cancellable()
S
65 3 10
get_shipment_by_order_id()
S
68 2 7
is_courier_sending_method()
S
69 2 8
is_pop_sending_method()
S
69 2 8
is_parcel_locker_sending_method()
S
69 2 8
getTrackingUrl()
S
68 2 8
get_customer_service_name()
S
76 1 4